<cfsetting enablecfoutputonly="Yes">

<!--- 
  /**
   * @author  <info@mireau.net>
   * @version 1.0 - <yyyy/mm/dd>
   */
--->

<!--- //
      // Remove this comment block if you run CF MX 6.x or above
      //


<cffunction name="include">
  <cfargument name="sFile" type="string" required="yes">
  <cfinclude template="#sFile#">
</cffunction>

--->

<cfscript>
  /**
   * @author  rens@joxx.nl
   * @version 1.0 - 2003/11/14
   */
  function isAlphaNumeric( sInput )
  {
    return( iif( REFind( "[^A-Za-z0-9]", sInput, 1 ), 0, 1 ));
  }
  
  /**
   * @author  rens@joxx.nl
   * @version 1.0 - 2003/11/14
   */
  function isAlpha( sInput )
  {
    return( iif( REFind( "[^A-Za-z]", sInput, 1 ), 0, 1 ));
  }
  
  /**
   * The best function so far(t)! This will return an image to space things.
   * Very useful in table to space columns etc.
   *
   * @author  auke@vanleeuwen.net
   * @version 1.0 - 2003.11.12
   */
  function spaceMe( x, y )
  {
    return( "<img src=""#request.site.s_WEBROOT#/-http/-images/devnull.gif"" alt=""spacer"" width=""#x#"" height=""#y#"" />" );
  }

  /* Copy functions to a scope where it's visible to everyone */
  request.udf.isAlphaNumeric  = isAlphaNumeric;
  request.udf.isAlpha         = isAlpha;
  request.udf.spaceMe         = spaceMe;

  /*
   * Remove this comment block if you run CF MX 6.x or above
   *
   
  request.udf.include         = include;
   
   */
</cfscript>

<cfsetting enablecfoutputonly="No">